<?php

use Biz\service\activity\DoubleEleven as sDoubleEleven;

/**
 * @deprecated
 */
class DoubleElevenLotteryAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {
        $uid = $this->uid;
        $play = $this->getRequest()->getPost('play', 0);
        $resultData = sDoubleEleven::lottery($uid, $play);
        $this->setSuccess($resultData);
    }
}